package com.ants.boot.system.dto.sysmenu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/18 15:34
 */
@ApiModel(value = "菜单搜索对象")
public class QueryMenuDto {

    @ApiModelProperty(value = "菜单名称")
    @NotNull(message = "不能为空")
    private String menuName;

    @ApiModelProperty(value = "状态,默认值为空白字符串")
    @NotNull(message = "状态不能为空！")
    private String status;

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
